package bb.lanxing.mvp.model.i;

import bb.lanxing.model.database.Trackpoint;
import bb.lanxing.model.database.Workout;
import bb.lanxing.model.json.WorkoutLap;
import java.util.List;
import java.util.Map;
import rx.Observable;
import rx.Subscriber;

public interface IWorkoutModel {
    void createRouteBook(long j, Subscriber<Long> subscriber);

    Observable<List<Trackpoint>> forceRequestWorkoutPoint(Workout workout);

    Observable<Object[]> getWorkoutComment(long j, int i, int i2);

    void getWorkoutLap(long j, Subscriber<Map<Long, List<WorkoutLap>>> subscriber);

    void saveWorkout(long j, int i, int i2);

    void workoutComment(long j, String str, String str2, long j2, Subscriber<Boolean> subscriber);

    void workoutLike(long j, boolean z, Subscriber<Boolean> subscriber);
}
